import { ILoginForm } from '@/utils/types';
import { request } from 'umi';

// 登陆接口
export function login(data: ILoginForm){
    return request('/auth/login', {
      method: 'POST',
      data
    });
}